<!doctype html>
<html>
<head>
<?php $this->load->view('admin/common_head'); ?>
</head>
<body>
<div class="wrap">
	<div class="nav">
		<ul class="cc">
			<li><a href="<?php echo site_url('admin/user_manage/index'); ?>">用户管理</a></li>
			<li class="current"><a href="<?php echo site_url('admin/user_manage/add'); ?>">添加用户</a></li>
		</ul>
	</div>
	<!--
	<div class="h_a">提示信息</div>
	<div class="mb10 prompt_text">
		<ol>
			<li>用户名和电子邮箱支持模糊搜索。用户名或电子邮箱输入"a" 则检索出所有以a开头的用户名或电子邮箱。</li>
			<li>可以对用户的基本信息、积分信息、用户组，以及用户产生的内容进行管理。</li>
		</ol>
	</div>
	-->
	<div class="h_a">添加用户</div>
	<form id="J_add_form" action="<?php echo site_url('admin/user_manage/do_add'); ?>" method="post" accept-charset="utf-8">
		<div class="table_full">
			<table width="100%">
				<col class="th" />
				<col width="400" />
				<col />
				<tr>
					<th>用户组</th>
					<td>
						<select class="select_5" name="groupid">
						<?php foreach($groups as $group) { ?>
							<option value="<?php echo $group['groupid']; ?>" <?php echo set_select('groupid', 8, $group['groupid'] == 8); ?>><?php echo $group['name']; ?></option>
						<?php } ?>
						</select>
					</td>
					<td><div class="fun_tips"></div></td>
				</tr>
				<tr>
					<th>用户名</th>
					<td><input type="text" name="username" value="" class="input length_5" /></td>
					<td><div class="fun_tips">只能是英文数字</div></td>
				</tr>
				<tr>
					<th>密码</th>
					<td><input type="text" name="password" value="" class="input length_5" /></td>
					<td><div class="fun_tips">输入大于6位数的密码</div></td>
				</tr>
				<tr>
					<th>确认密码</th>
					<td><input type="text" name="repassword" value="" class="input length_5" /></td>
					<td><div class="fun_tips"></div></td>
				</tr>
				<tr>
					<th>邮箱</th>
					<td><input type="text" name="email" value="" class="input length_5" /></td>
					<td><div class="fun_tips">填写真实邮箱</div></td>
				</tr>
			</table>
		</div>
		<div class="btn_wrap">
			<div class="btn_wrap_pd">
				<button type="submit" class="btn btn_submit mr20" id="J_rights_form_btn">提交</button>
			</div>
		</div>
	</form>
</div>
<?php $this->load->view('admin/common_footer'); ?>
</body>
</html>